//
//  RegisterViewController.h
//  BaJieLvYouForIphone
//
//  Created by zhangwo on 16/8/12.
//  Copyright © 2016年 GuoBuGa. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Common.h"
#import "LoginInputView.h"
@class RegisterViewController;

@protocol RegisterDelegate <NSObject>

@optional
- (void)toobarDonBtnHaveClik:(RegisterViewController *) pickView resultString:(NSString *)resultString;

@end

//手机号注册
@interface RegisterViewController : UIViewController <UITextFieldDelegate,UIActionSheetDelegate,UIPickerViewDelegate,UIPickerViewDataSource,UITableViewDelegate,UITableViewDataSource>{
    @private
    int _watingTime;
    UIView *_line,*_line1,*_line2,*_line3,*_line4,*_line5;
    
    UIDatePicker *_datePicker;
//    DSXModalView *_datePickerView;
}

@property(nonatomic)LoginInputView *nameView;
@property(nonatomic, retain)UIButton *profile;
@property(nonatomic)LoginInputView *dutiesView;
@property(nonatomic)LoginInputView *departmentLabel;
@property(nonatomic)LoginInputView *mobileView;
@property(nonatomic)LoginInputView *passwordView;

@property(nonatomic,retain)UIButton *registerButton;
@property(nonatomic,retain)UITextField *seccodeField;
@property(nonatomic,retain)UIButton *seccodeButton;

@property(nonatomic,strong)UIToolbar *toolbar;
@property(nonatomic,readonly)UIPickerView *pickerView;
@property(nonatomic,strong)UIDatePicker *datePicker;
@property(nonatomic,assign)NSInteger pickeviewHeight;
@property(nonatomic,assign)BOOL isHaveNavControler;
@property(nonatomic,assign)NSDate *defaulDate;
@property(nonatomic,copy)NSString *resultString;

@property(nonatomic, strong)UIToolbar *toolbarButton;
@property(nonatomic, strong)UITableView *tableView;
@property(nonatomic, strong)NSArray *departmentData;

@property(nonatomic, assign)id <RegisterDelegate> delegate;

@end
